<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>

<body>
<?php
   $yuwen=90;
   $shuxue=85;
   $yingyu=75;
   $zong=$yuwen+$shuxue+$yingyu;
   $ping=$zong/3;
   echo "小明同学的总分是：".$zong.",平均分是:".$ping;
?>
</body>
</html>